<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: CSocketIoBuffer类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="class_c_socket_io_buffer-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">CSocketIoBuffer类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>套接字buffer类  
 <a href="class_c_socket_io_buffer.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_socket_io_buffer_8h_source.html">SocketIoBuffer.h</a>&gt;</code></p>
<div class="dynheader">
类 CSocketIoBuffer 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_c_socket_io_buffer.png" usemap="#CSocketIoBuffer_map" alt=""/>
  <map id="CSocketIoBuffer_map" name="CSocketIoBuffer_map">
<area href="class_c_stream_buffer.html" title="buffer类" alt="CStreamBuffer" shape="rect" coords="0,56,104,80"/>
<area href="class_c_stream_iteator.html" alt="CStreamIteator" shape="rect" coords="0,0,104,24"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a1c62dd42c23ffb8c1d2c8dedb6421e48"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_socket_io_buffer.html#a1c62dd42c23ffb8c1d2c8dedb6421e48">CSocketIoBuffer</a> ()</td></tr>
<tr class="memdesc:a1c62dd42c23ffb8c1d2c8dedb6421e48"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造一个空buffer  <a href="class_c_socket_io_buffer.html#a1c62dd42c23ffb8c1d2c8dedb6421e48">更多...</a><br /></td></tr>
<tr class="separator:a1c62dd42c23ffb8c1d2c8dedb6421e48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4be29cc364e95fcc18bdca2727e03f20"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_socket_io_buffer.html#a4be29cc364e95fcc18bdca2727e03f20">CSocketIoBuffer</a> (size_t <a class="el" href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">size</a>)</td></tr>
<tr class="memdesc:a4be29cc364e95fcc18bdca2727e03f20"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造一个字节大小为size的buffer  <a href="class_c_socket_io_buffer.html#a4be29cc364e95fcc18bdca2727e03f20">更多...</a><br /></td></tr>
<tr class="separator:a4be29cc364e95fcc18bdca2727e03f20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a105cbfb8869aa001ca379367f307712a"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_socket_io_buffer.html#a105cbfb8869aa001ca379367f307712a">~CSocketIoBuffer</a> ()</td></tr>
<tr class="separator:a105cbfb8869aa001ca379367f307712a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af19bee2e2dd9c3e21e78cc68d7d06312"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_socket_io_buffer.html#af19bee2e2dd9c3e21e78cc68d7d06312">copy_str</a> (const char *str, size_t <a class="el" href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">size</a>=0)</td></tr>
<tr class="memdesc:af19bee2e2dd9c3e21e78cc68d7d06312"><td class="mdescLeft">&#160;</td><td class="mdescRight">拷贝固定长度大小内存  <a href="class_c_socket_io_buffer.html#af19bee2e2dd9c3e21e78cc68d7d06312">更多...</a><br /></td></tr>
<tr class="separator:af19bee2e2dd9c3e21e78cc68d7d06312"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0834b50d2414330fcbda36ca2fadd293"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_socket_io_buffer.html#a0834b50d2414330fcbda36ca2fadd293">swap</a> (<a class="el" href="class_c_socket_io_buffer.html">CSocketIoBuffer</a> &amp;iobuf)</td></tr>
<tr class="separator:a0834b50d2414330fcbda36ca2fadd293"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_c_stream_buffer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_c_stream_buffer')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_c_stream_buffer.html">CStreamBuffer</a></td></tr>
<tr class="memitem:ac9c6fd17ad2026709db6a80aa7346e42 inherit pub_methods_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#ac9c6fd17ad2026709db6a80aa7346e42">CStreamBuffer</a> ()</td></tr>
<tr class="memdesc:ac9c6fd17ad2026709db6a80aa7346e42 inherit pub_methods_class_c_stream_buffer"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造一个空缓存  <a href="class_c_stream_buffer.html#ac9c6fd17ad2026709db6a80aa7346e42">更多...</a><br /></td></tr>
<tr class="separator:ac9c6fd17ad2026709db6a80aa7346e42 inherit pub_methods_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f95f0119554dd73b6b86edac26bf422 inherit pub_methods_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#a8f95f0119554dd73b6b86edac26bf422">CStreamBuffer</a> (size_t <a class="el" href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">size</a>)</td></tr>
<tr class="memdesc:a8f95f0119554dd73b6b86edac26bf422 inherit pub_methods_class_c_stream_buffer"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造一个固定大小的内存  <a href="class_c_stream_buffer.html#a8f95f0119554dd73b6b86edac26bf422">更多...</a><br /></td></tr>
<tr class="separator:a8f95f0119554dd73b6b86edac26bf422 inherit pub_methods_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a224b9bbe67ebe65f3a4b5867ec3acb91 inherit pub_methods_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#a224b9bbe67ebe65f3a4b5867ec3acb91">CStreamBuffer</a> (const <a class="el" href="class_c_stream_buffer.html">CStreamBuffer</a> &amp;st)</td></tr>
<tr class="separator:a224b9bbe67ebe65f3a4b5867ec3acb91 inherit pub_methods_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1393d5c0b1a25daa0ae90ba9c4952bb2 inherit pub_methods_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#a1393d5c0b1a25daa0ae90ba9c4952bb2">~CStreamBuffer</a> ()</td></tr>
<tr class="memdesc:a1393d5c0b1a25daa0ae90ba9c4952bb2 inherit pub_methods_class_c_stream_buffer"><td class="mdescLeft">&#160;</td><td class="mdescRight">析构函数释放空间  <a href="class_c_stream_buffer.html#a1393d5c0b1a25daa0ae90ba9c4952bb2">更多...</a><br /></td></tr>
<tr class="separator:a1393d5c0b1a25daa0ae90ba9c4952bb2 inherit pub_methods_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5397e21fdb40d00694312ffc652df314 inherit pub_methods_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#a5397e21fdb40d00694312ffc652df314">assign</a> (size_t <a class="el" href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">size</a>)</td></tr>
<tr class="memdesc:a5397e21fdb40d00694312ffc652df314 inherit pub_methods_class_c_stream_buffer"><td class="mdescLeft">&#160;</td><td class="mdescRight">重置size大小  <a href="class_c_stream_buffer.html#a5397e21fdb40d00694312ffc652df314">更多...</a><br /></td></tr>
<tr class="separator:a5397e21fdb40d00694312ffc652df314 inherit pub_methods_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96a491510c5e9f98e0bdb382b87a72e9 inherit pub_methods_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#a96a491510c5e9f98e0bdb382b87a72e9">reserve</a> (size_t <a class="el" href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">size</a>)</td></tr>
<tr class="memdesc:a96a491510c5e9f98e0bdb382b87a72e9 inherit pub_methods_class_c_stream_buffer"><td class="mdescLeft">&#160;</td><td class="mdescRight">重置内存大小  <a href="class_c_stream_buffer.html#a96a491510c5e9f98e0bdb382b87a72e9">更多...</a><br /></td></tr>
<tr class="separator:a96a491510c5e9f98e0bdb382b87a72e9 inherit pub_methods_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a36e220632732abe7840dd9fbb18511b8 inherit pub_methods_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">virtual size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#a36e220632732abe7840dd9fbb18511b8">capacity</a> () const</td></tr>
<tr class="memdesc:a36e220632732abe7840dd9fbb18511b8 inherit pub_methods_class_c_stream_buffer"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回容量大小  <a href="class_c_stream_buffer.html#a36e220632732abe7840dd9fbb18511b8">更多...</a><br /></td></tr>
<tr class="separator:a36e220632732abe7840dd9fbb18511b8 inherit pub_methods_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fcd174f108c8fc5f486c4aa5656d745 inherit pub_methods_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">virtual char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#a1fcd174f108c8fc5f486c4aa5656d745">data</a> ()</td></tr>
<tr class="memdesc:a1fcd174f108c8fc5f486c4aa5656d745 inherit pub_methods_class_c_stream_buffer"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回数据指针  <a href="class_c_stream_buffer.html#a1fcd174f108c8fc5f486c4aa5656d745">更多...</a><br /></td></tr>
<tr class="separator:a1fcd174f108c8fc5f486c4aa5656d745 inherit pub_methods_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b26d5da14524319ee316b2d9d483745 inherit pub_methods_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">virtual char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#a1b26d5da14524319ee316b2d9d483745">begin</a> ()</td></tr>
<tr class="memdesc:a1b26d5da14524319ee316b2d9d483745 inherit pub_methods_class_c_stream_buffer"><td class="mdescLeft">&#160;</td><td class="mdescRight">缓存开始位置  <a href="class_c_stream_buffer.html#a1b26d5da14524319ee316b2d9d483745">更多...</a><br /></td></tr>
<tr class="separator:a1b26d5da14524319ee316b2d9d483745 inherit pub_methods_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73f9a99a28456cb04114ab30269a1470 inherit pub_methods_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#a73f9a99a28456cb04114ab30269a1470">cbegin</a> () const</td></tr>
<tr class="memdesc:a73f9a99a28456cb04114ab30269a1470 inherit pub_methods_class_c_stream_buffer"><td class="mdescLeft">&#160;</td><td class="mdescRight">缓存开始位置  <a href="class_c_stream_buffer.html#a73f9a99a28456cb04114ab30269a1470">更多...</a><br /></td></tr>
<tr class="separator:a73f9a99a28456cb04114ab30269a1470 inherit pub_methods_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9b9bd381177307ec3386bc72b9a3ab6 inherit pub_methods_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">virtual char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#ac9b9bd381177307ec3386bc72b9a3ab6">end</a> ()</td></tr>
<tr class="memdesc:ac9b9bd381177307ec3386bc72b9a3ab6 inherit pub_methods_class_c_stream_buffer"><td class="mdescLeft">&#160;</td><td class="mdescRight">缓存结束位置  <a href="class_c_stream_buffer.html#ac9b9bd381177307ec3386bc72b9a3ab6">更多...</a><br /></td></tr>
<tr class="separator:ac9b9bd381177307ec3386bc72b9a3ab6 inherit pub_methods_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53dc5d1a0c14f468da849de5376aec1d inherit pub_methods_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#a53dc5d1a0c14f468da849de5376aec1d">cend</a> () const</td></tr>
<tr class="memdesc:a53dc5d1a0c14f468da849de5376aec1d inherit pub_methods_class_c_stream_buffer"><td class="mdescLeft">&#160;</td><td class="mdescRight">缓存结束位置  <a href="class_c_stream_buffer.html#a53dc5d1a0c14f468da849de5376aec1d">更多...</a><br /></td></tr>
<tr class="separator:a53dc5d1a0c14f468da849de5376aec1d inherit pub_methods_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa142871df4960e4d17167f56de651469 inherit pub_methods_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">virtual size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">size</a> () const</td></tr>
<tr class="memdesc:aa142871df4960e4d17167f56de651469 inherit pub_methods_class_c_stream_buffer"><td class="mdescLeft">&#160;</td><td class="mdescRight">返回缓存大小  <a href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">更多...</a><br /></td></tr>
<tr class="separator:aa142871df4960e4d17167f56de651469 inherit pub_methods_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1801dff132d9c876d827510d457eedc inherit pub_methods_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#ad1801dff132d9c876d827510d457eedc">swap</a> (<a class="el" href="class_c_stream_buffer.html">CStreamBuffer</a> &amp;st)</td></tr>
<tr class="memdesc:ad1801dff132d9c876d827510d457eedc inherit pub_methods_class_c_stream_buffer"><td class="mdescLeft">&#160;</td><td class="mdescRight">交换两者内存  <a href="class_c_stream_buffer.html#ad1801dff132d9c876d827510d457eedc">更多...</a><br /></td></tr>
<tr class="separator:ad1801dff132d9c876d827510d457eedc inherit pub_methods_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a805cc466a664d1f533d1c8617bc49f36 inherit pub_methods_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">virtual const void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#a805cc466a664d1f533d1c8617bc49f36">copy_mem</a> (const void *dst, size_t <a class="el" href="class_c_stream_buffer.html#aa142871df4960e4d17167f56de651469">size</a>)</td></tr>
<tr class="memdesc:a805cc466a664d1f533d1c8617bc49f36 inherit pub_methods_class_c_stream_buffer"><td class="mdescLeft">&#160;</td><td class="mdescRight">拷贝固定长度大小内存  <a href="class_c_stream_buffer.html#a805cc466a664d1f533d1c8617bc49f36">更多...</a><br /></td></tr>
<tr class="separator:a805cc466a664d1f533d1c8617bc49f36 inherit pub_methods_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87fd2d92ca97257926f42f75df1884a5 inherit pub_methods_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">virtual char &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#a87fd2d92ca97257926f42f75df1884a5">operator[]</a> (<a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a> pos)</td></tr>
<tr class="memdesc:a87fd2d92ca97257926f42f75df1884a5 inherit pub_methods_class_c_stream_buffer"><td class="mdescLeft">&#160;</td><td class="mdescRight">重载下标运算符  <a href="class_c_stream_buffer.html#a87fd2d92ca97257926f42f75df1884a5">更多...</a><br /></td></tr>
<tr class="separator:a87fd2d92ca97257926f42f75df1884a5 inherit pub_methods_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefd57bfd8401563211efc678d65e3efd inherit pub_methods_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">virtual char&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#aefd57bfd8401563211efc678d65e3efd">operator[]</a> (<a class="el" href="_find_file_8h.html#a37cc1038758216808d5f75090b093c9a">int</a> pos) const</td></tr>
<tr class="separator:aefd57bfd8401563211efc678d65e3efd inherit pub_methods_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4d72e489f374e26b874025b5d88a6f4 inherit pub_methods_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_c_stream_buffer.html">CStreamBuffer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#ae4d72e489f374e26b874025b5d88a6f4">operator=</a> (const <a class="el" href="class_c_stream_buffer.html">CStreamBuffer</a> &amp;st)</td></tr>
<tr class="separator:ae4d72e489f374e26b874025b5d88a6f4 inherit pub_methods_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_c_stream_iteator"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_c_stream_iteator')"><img src="closed.png" alt="-"/>&#160;Public 成员函数 继承自 <a class="el" href="class_c_stream_iteator.html">CStreamIteator</a></td></tr>
<tr class="memitem:af9cd74c006987ac3d233fb04b70ebd1a inherit pub_methods_class_c_stream_iteator"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_iteator.html#af9cd74c006987ac3d233fb04b70ebd1a">CStreamIteator</a> (char *b, char *e)</td></tr>
<tr class="memdesc:af9cd74c006987ac3d233fb04b70ebd1a inherit pub_methods_class_c_stream_iteator"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造一个迭代器  <a href="class_c_stream_iteator.html#af9cd74c006987ac3d233fb04b70ebd1a">更多...</a><br /></td></tr>
<tr class="separator:af9cd74c006987ac3d233fb04b70ebd1a inherit pub_methods_class_c_stream_iteator"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:a24c643dede63b88d919f03cc0818e804"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_socket_io_buffer.html#a24c643dede63b88d919f03cc0818e804">delete_class_copy_operator</a> (<a class="el" href="class_c_socket_io_buffer.html">CSocketIoBuffer</a>)</td></tr>
<tr class="separator:a24c643dede63b88d919f03cc0818e804"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
额外继承的成员函数</h2></td></tr>
<tr class="inherit_header pub_attribs_class_c_stream_iteator"><td colspan="2" onclick="javascript:toggleInherit('pub_attribs_class_c_stream_iteator')"><img src="closed.png" alt="-"/>&#160;Public 属性 继承自 <a class="el" href="class_c_stream_iteator.html">CStreamIteator</a></td></tr>
<tr class="memitem:a0b71495cd931b33334f1c1fe3f5f1787 inherit pub_attribs_class_c_stream_iteator"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_iteator.html#a0b71495cd931b33334f1c1fe3f5f1787">_beg</a></td></tr>
<tr class="separator:a0b71495cd931b33334f1c1fe3f5f1787 inherit pub_attribs_class_c_stream_iteator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87ac0d95049747df7fe2a7b51662aa8e inherit pub_attribs_class_c_stream_iteator"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_iteator.html#a87ac0d95049747df7fe2a7b51662aa8e">_end</a></td></tr>
<tr class="separator:a87ac0d95049747df7fe2a7b51662aa8e inherit pub_attribs_class_c_stream_iteator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_c_stream_buffer"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_c_stream_buffer')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="class_c_stream_buffer.html">CStreamBuffer</a></td></tr>
<tr class="memitem:a3b39de36fc32da3c0d02bd1f2d032034 inherit pro_methods_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#a3b39de36fc32da3c0d02bd1f2d032034">clear</a> ()</td></tr>
<tr class="separator:a3b39de36fc32da3c0d02bd1f2d032034 inherit pro_methods_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_class_c_stream_iteator"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_c_stream_iteator')"><img src="closed.png" alt="-"/>&#160;Protected 成员函数 继承自 <a class="el" href="class_c_stream_iteator.html">CStreamIteator</a></td></tr>
<tr class="memitem:a45891a9a8ac52a2eb90122276561506f inherit pro_methods_class_c_stream_iteator"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_iteator.html#a45891a9a8ac52a2eb90122276561506f">CStreamIteator</a> ()</td></tr>
<tr class="separator:a45891a9a8ac52a2eb90122276561506f inherit pro_methods_class_c_stream_iteator"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_class_c_stream_buffer"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_class_c_stream_buffer')"><img src="closed.png" alt="-"/>&#160;Protected 属性 继承自 <a class="el" href="class_c_stream_buffer.html">CStreamBuffer</a></td></tr>
<tr class="memitem:a101b52acd1aa627d6c5b1c5142e83731 inherit pro_attribs_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#a101b52acd1aa627d6c5b1c5142e83731">_data</a></td></tr>
<tr class="separator:a101b52acd1aa627d6c5b1c5142e83731 inherit pro_attribs_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5401559e6e6a78fd0a7f6613368ac2b0 inherit pro_attribs_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#a5401559e6e6a78fd0a7f6613368ac2b0">_size</a></td></tr>
<tr class="separator:a5401559e6e6a78fd0a7f6613368ac2b0 inherit pro_attribs_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7cf1ca44456ef1435250109cee1bee5 inherit pro_attribs_class_c_stream_buffer"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_stream_buffer.html#ad7cf1ca44456ef1435250109cee1bee5">_max</a></td></tr>
<tr class="separator:ad7cf1ca44456ef1435250109cee1bee5 inherit pro_attribs_class_c_stream_buffer"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>套接字buffer类 </p>
<dl class="section remark"><dt>备注</dt><dd>不在使用，已经废弃 </dd></dl>

<p class="definition">在文件 <a class="el" href="_socket_io_buffer_8h_source.html">SocketIoBuffer.h</a> 第 <a class="el" href="_socket_io_buffer_8h_source.html#l00013">13</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a1c62dd42c23ffb8c1d2c8dedb6421e48"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c62dd42c23ffb8c1d2c8dedb6421e48">&#9670;&nbsp;</a></span>CSocketIoBuffer() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CSocketIoBuffer::CSocketIoBuffer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造一个空buffer </p>

<p class="definition">在文件 <a class="el" href="_socket_io_buffer_8cpp_source.html">SocketIoBuffer.cpp</a> 第 <a class="el" href="_socket_io_buffer_8cpp_source.html#l00030">30</a> 行定义.</p>

</div>
</div>
<a id="a4be29cc364e95fcc18bdca2727e03f20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4be29cc364e95fcc18bdca2727e03f20">&#9670;&nbsp;</a></span>CSocketIoBuffer() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CSocketIoBuffer::CSocketIoBuffer </td>
          <td>(</td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造一个字节大小为size的buffer </p>

<p class="definition">在文件 <a class="el" href="_socket_io_buffer_8cpp_source.html">SocketIoBuffer.cpp</a> 第 <a class="el" href="_socket_io_buffer_8cpp_source.html#l00034">34</a> 行定义.</p>

</div>
</div>
<a id="a105cbfb8869aa001ca379367f307712a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a105cbfb8869aa001ca379367f307712a">&#9670;&nbsp;</a></span>~CSocketIoBuffer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CSocketIoBuffer::~CSocketIoBuffer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_socket_io_buffer_8cpp_source.html">SocketIoBuffer.cpp</a> 第 <a class="el" href="_socket_io_buffer_8cpp_source.html#l00038">38</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="af19bee2e2dd9c3e21e78cc68d7d06312"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af19bee2e2dd9c3e21e78cc68d7d06312">&#9670;&nbsp;</a></span>copy_str()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t CSocketIoBuffer::copy_str </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>str</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>拷贝固定长度大小内存 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">str</td><td>字符串指针 </td></tr>
    <tr><td class="paramname">size</td><td>字符串长度 </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回字符串个数 </dd></dl>
<dl class="section remark"><dt>备注</dt><dd>若size为0，则函数会自动计算str的长度，且str必须有\0结束符 </dd></dl>

<p class="definition">在文件 <a class="el" href="_socket_io_buffer_8cpp_source.html">SocketIoBuffer.cpp</a> 第 <a class="el" href="_socket_io_buffer_8cpp_source.html#l00043">43</a> 行定义.</p>

</div>
</div>
<a id="a24c643dede63b88d919f03cc0818e804"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a24c643dede63b88d919f03cc0818e804">&#9670;&nbsp;</a></span>delete_class_copy_operator()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">CSocketIoBuffer::delete_class_copy_operator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_socket_io_buffer.html">CSocketIoBuffer</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0834b50d2414330fcbda36ca2fadd293"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0834b50d2414330fcbda36ca2fadd293">&#9670;&nbsp;</a></span>swap()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a> void CSocketIoBuffer::swap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_socket_io_buffer.html">CSocketIoBuffer</a> &amp;&#160;</td>
          <td class="paramname"><em>iobuf</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_socket_io_buffer_8cpp_source.html">SocketIoBuffer.cpp</a> 第 <a class="el" href="_socket_io_buffer_8cpp_source.html#l00025">25</a> 行定义.</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>H:/project/LibTools/src/stream/<a class="el" href="_socket_io_buffer_8h_source.html">SocketIoBuffer.h</a></li>
<li>H:/project/LibTools/src/stream/<a class="el" href="_socket_io_buffer_8cpp_source.html">SocketIoBuffer.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
